PGI\Module\PGPayment\Services\Managers\ButtonManager A

Total Complexity 69
Dependencies 5
Dependents 7
Total lines 356
Lines of code 206
Logical lines of code 132
Comment lines 73
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
check()
B
39 23 60
hasEligibleCategories()
A
48 9 34
getValidButtons()
A
52 9 24
checkFilters()
S
59 6 15
isValidAmount()
S
62 5 11
isValidCurrency()
S
59 4 14
hasEligibleProduct()
S
61 4 12
delete()
S
57 3 17
save()
S
69 2 7
getByPrimary()
S
80 1 3
getAll()
S
81 1 3
getNew()
S
81 1 3
count()
S
80 1 3